/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.abm.jwebsite.exception;

import org.abm.jwebsite.utilities.Constants;
import org.abm.jwebsite.utilities.Utilities;

/**
 *
 * @author Saptarshi Debnath (saptarshi.devnath@gmail.com)
 */
public class ProjectModeEntryIsMissingInJWebsitePropertiesException extends JWebsiteException {

    public ProjectModeEntryIsMissingInJWebsitePropertiesException() {
        this("jwebsite.project.mode key and value is missing in the jwebsite.properties or the values are not correct. The values must be " + Constants.CNST_PROJECT_MODE_DEVELOPMENT + " & " + Constants.CNST_PROJECT_MODE_PRODUCTION);
    }

    public ProjectModeEntryIsMissingInJWebsitePropertiesException(String message) {
        super("jwebsite.project.mode key and value is missing in the jwebsite.properties or the values are not correct. The values must be " + Constants.CNST_PROJECT_MODE_DEVELOPMENT + " & " + Constants.CNST_PROJECT_MODE_PRODUCTION + Utilities.INSTANCE.getLineSeperator() + message);
    }
}
